function InitializeSettings()
{
	declare sbase settingsetref script
	declare junk settingsetref script
	LavishSettings:AddSet[VG Wanderbot]
	LavishSettings[VG Wanderbot]:AddSet[sbase]
	LavishSettings[VG Wanderbot]:AddSet[junk]

	sbase:Set[${LavishSettings[VG Wanderbot].FindSet[sbase]}]
	junk:Set[${LavishSettings[VG Wanderbot].FindSet[junk]}]

	; Load values from XML if present
	sbase:Import[${Script[Wanderbot].CurrentDirectory}/Require/Settings/Settings.xml]
	junk:Import[${Script[Wanderbot].CurrentDirectory}/Require/Settings/Junk.xml]

	; Set default values if values are not present

	; Make sure the proper checkboxes are checked
	

	;LogFile Initialization
	LogDir:SetFilename[${Script[Wanderbot].CurrentDirectory}/Logs/${Me.FName}_${Me.LName}/${Time.Year}-${Time.Month}-${Time.Day}_${Time.Time24.Replace[:,REMOVE]}.txt]
	
	declare LogPath filepath local "${Script[Wanderbot].CurrentDirectory}/Logs/"
	declare CharPath filepath local "${Script[Wanderbot].CurrentDirectory}/Logs/${Me.FName}_${Me.LName}/"

	if ${CharPath.PathExists}
	{
		Return
	}
	else
	{
		LogPath:MakeSubdirectory[${Me.FName}_${Me.LName}]
	}

}
function StoreSettings()
{
	sbase:Set[${LavishSettings[VG Wanderbot].FindSet[sbase]}]
	sbase:Export[${Script[Wanderbot].CurrentDirectory}/Require/Settings/Settings.xml]

	LavishSettings[VG Wanderbot]:Clear
	LavishSettings[VG Wanderbot]:Remove
}